﻿<!--_meta 作为公共模版分离出去-->
<include file="./Application/Admin/View/_meta.html" />
<body>
<include file="./Application/Admin/View/_header.html" />
<!--/_header 作为公共模版分离出去-->
<include file="./Application/Admin/View/_menu.html" />


<section class="Hui-article-box">
    <nav class="breadcrumb">
        <i class="Hui-iconfont">&#xe67f;</i> 首页
    </nav>
    <div class="Hui-article">
        <article class="cl pd-20">
            <div class="cl pd-5 bg-1 bk-gray mt-20">
				<span class="l">
				<a class="btn btn-primary radius" data-title="添加通道规则" _href="article-add.html" onclick="location.href = 'passageway_add.html'" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 添加通道</a>
				</span>
            </div>
            <div class="mt-20">
                <table class="table table-border table-bordered table-bg table-hover table-sort">
                    <thead>
                    <tr class="text-c">
                        <th width="80">ID</th>
                        <th width="80">QQ支付所用通道</th>
                        <th width="80">支付宝所用通道</th>
                        <th width="80">微信扫码支付</th>
                        <th width="120">微信公众号支付</th>
                        <th width="120">京东钱包所用通道</th>
                        <th width="120">网银支付</th>
                        <th width="40">有效支付金额</th>
                        <th width="75">有效商户号&&项目</th>
                        <th width="60">所属通道组</th>
                        <th width="100">最近修改时间</th>
                        <th width="100">操作</th>
                    </tr>
                    </thead>
                    <tbody>

                    <foreach name="passageway_conf" item="passageway_conf_vo">
                        <tr class="text-c">
                            <td>{$passageway_conf_vo.id}</td>
                            <td>{$passageway_conf_vo.qq_pay.mch_channel}</td>
                            <td>{$passageway_conf_vo.alipay_pay.mch_channel}</td>
                            <td>{$passageway_conf_vo.weixinscancode.mch_channel}</td>
                            <td>{$passageway_conf_vo.weixingzh_pay.mch_channel}</td>
                            <td>{$passageway_conf_vo.jd_pay.mch_channel}</td>
                            <td>{$passageway_conf_vo.bank_pay.mch_channel}</td>
                            <td>{$passageway_conf_vo.passageway_price}</td>
                            <td class="td-status"><span class="label label-success radius">
                                <if condition="$passageway_conf_vo.effective_merchant eq 0">
                                    所有
                                    <else />
                                    {$passageway_conf_vo.effective_merchant}-{$passageway_conf_vo.userremarks}
                                </if>
                            </span></td>

                            <td>
                                <if condition="$passageway_conf_vo.passageway_group eq 0 ">
                                    <span>通道分组A</span>
                                    <elseif condition="$passageway_conf_vo.passageway_group eq 1"/>
                                    <span>通道分组B</span>
                                    <elseif condition="$passageway_conf_vo.passageway_group eq 2" />
                                    <span>通道分组C</span>
                                </if>
                            </td>

                            <td>{$passageway_conf_vo.update_time}</td>
                            <td class="f-14 td-manage">
                                <a style="text-decoration:none" class="ml-5" onClick="location.href = 'passageway_add.html?id={$passageway_conf_vo.id}&mch_id={$passageway_conf_vo.effective_merchant}'" href="javascript:;" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a>
                                <a style="text-decoration:none" class="ml-5" onclick="javascript:if (confirm('确定删除吗？')) { return true;}else{return false;};" href="passageway_del.html?primaryId={$passageway_conf_vo.id}" href="javascript:;" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
                        </tr>
                    </foreach>
                    </tbody>
                </table>
            </div>
        </article>
    </div>
</section>

<include file="./Application/Admin/View/_footer.html" />
</body>
</html>